[XEN][POWERPC] Fix compile error in gdbstub.c
authorJimi Xenidis <jimix@watson.ibm.com>
Mon, 25 Sep 2006 15:19:55 +0000 (11:19 -0400)
committerJimi Xenidis <jimix@watson.ibm.com>
Mon, 25 Sep 2006 15:19:55 +0000 (11:19 -0400)
With crash_debug=y the compiler can't find a prototype for unimplemented(),
where gdb-arch-read_reg is calling it.
Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : %AC%FB%1A%C2%3F%80%28l%8BS%20R%F5%E4%B7%7F3a%266

xen/arch/powerpc/gdbstub.c

index 5bd60bf859f76097dcce15d0f1bc856feca0847d..dd9d4885eed65ecdb9bf0fc94b2fe5192162d60b 100644 (file)
@@ -25,6 +25,7 @@
 #include <asm/msr.h>
 #include <asm/bitops.h>
 #include <asm/cache.h>
+#include <asm/debugger.h>
 #include <asm/processor.h>
 
 asm(".globl trap_instruction\n"